.videoPlayModal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 100%;

  &.videoPlayModal-score {
    position: absolute;
    top: 100px;

    .main {
      top: 0;
      transform: translateX(-50%) translateY(0);
    }
  }

  .mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
  }

  .main {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1002;
    width: 1000px;
    padding: 22px;
    background: #192c53;
    border-radius: 12px;
    transform: translateX(-50%) translateY(-50%);

    .header {
      display: flex;
      align-items: center;
      height: 50px;
      padding: 7px;
      background: #293e6b;

      .preimg {
        width: 47px;
        height: 36px;
        margin-right: 11px;
        border-radius: 2px;
        cursor: pointer;
      }

      .text {
        flex: 1;
        width: 0;
        overflow: hidden;
        color: #fff;
        font-size: 12px;
        line-height: 17px;
        white-space: nowrap;
        text-overflow: ellipsis;
        cursor: pointer;
        &:hover {
          color: #4de7ff;
        }
      }
    }

    .contentWrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 539px;
      overflow-y: auto;
      &.contentWrapperImg {
        display: block;
        line-height: 539px;
        text-align: center;
      }
      .img {
        max-width: 100%;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
      }
      .video {
        width: 100%;
        height: 100%;
      }
      .plvplayer {
        width: 100%;
        height: 100%;
      }
    }

    .student {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 10px;
      .studentleft {
        display: flex;
        align-items: center;
      }
      .avatar {
        width: 35px;
        height: 35px;
        margin-right: 10px;
        background-position: center;
        background-size: cover;
        border-radius: 50%;
        cursor: pointer;
      }

      .nick {
        color: #fff;
        font-size: 16px;
        cursor: pointer;
        &:hover {
          color: #4de7ff;
        }
      }

      .no {
        margin-left: 12px;
        color: #7688a5;
        line-height: 22px;
      }
      .downloadfile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 98px;
        height: 32px;
        color: #ffffff;
        font-weight: 500;
        font-size: 14px;
        background: #254df8;
        border-radius: 4px;
        &:hover {
          opacity: 0.7;
        }
      }
    }

    .startwrapper {
      text-align: center;
    }

    .star {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 118px;
      height: 48px;
      margin: 20px auto 10px auto;
      padding: 0 15px;
      border: 2px solid #425171;
      border-radius: 36px;
      cursor: pointer;
      &:hover {
        border: 2px solid #fff;
      }

      &.actived {
        background: rgba(255, 89, 103, 0.1);
        border: 2px solid rgba(255, 89, 103, 0.4);
        &:hover {
          background: rgba(255, 89, 103, 0.2);
        }
        .icon {
          background: url('./images/star_hover.png') no-repeat center / 100%;
        }
      }

      .icon {
        width: 28px;
        height: 28px;
        background: url('./images/star.png') no-repeat center / 100%;
      }

      .text {
        margin-left: 12px;
        color: #fff;
        line-height: 20px;
      }
    }

    .prve {
      position: absolute;
      top: 50%;
      left: -87px;
      width: 47px;
      height: 117px;
      background: url('./images/prve.png') no-repeat center / 100%;
      transform: translateY(-50%);
      cursor: pointer;
      opacity: 0.7;
      &:hover {
        opacity: 1;
      }

      &.disabled {
        cursor: not-allowed;
        opacity: 0.3;
      }
    }

    .next {
      position: absolute;
      top: 50%;
      right: -87px;
      width: 47px;
      height: 117px;
      background: url('./images/next.png') no-repeat center / 100%;
      transform: translateY(-50%);
      cursor: pointer;
      opacity: 0.7;
      &:hover {
        opacity: 1;
      }

      &.disabled {
        cursor: not-allowed;
        opacity: 0.3;
      }
    }

    .close {
      position: absolute;
      top: 22px;
      right: -66px;
      width: 44px;
      height: 44px;
      cursor: pointer;
    }
  }
}

.score {
  width: 100%;
  height: 320px;
  padding: 20px 0;
  background: #1c3a6a;
  border-radius: 0 0 12px 12px;
  &.disabled {
    .score-item {
      cursor: not-allowed !important;
    }
  }
  .title {
    display: block;
    width: 136px;
    height: 23px;
    margin: 0 auto;
  }

  .process-wrapper {
    position: relative;
    width: 764px;
    height: 70px;
    margin: 20px auto 0 auto;

    &.score-1 {
      .process {
        width: 0;
        background: transparent;
      }

      .b {
        color: #fff;
        background: linear-gradient(90deg, #b4a87a 0%, #625b40 100%);
        border-radius: 6px;
        box-shadow: 0 10px 20px 0 rgba(69, 55, 131, 0.24), inset 0 -1px 5px 0 #fff9dc;

        .icon {
          background-image: url('./images/b.png');
        }
      }
    }

    &.score-2 {
      .process {
        width: 191px;
        height: 20px;
        background: linear-gradient(270deg, #ab3bff 0%, #ffe385 100%);
      }

      .a {
        color: #fff;
        background: linear-gradient(270deg, #932ddf 0%, #c475ff 100%);
        border-radius: 6px;
        box-shadow: 0 10px 20px 0 rgba(69, 55, 131, 0.24), inset 0 -1px 5px 0 #e6c4ff;

        .icon {
          background-image: url('./images/a.png');
        }
      }
    }

    &.score-3 {
      .process {
        width: 433px;
        background: linear-gradient(270deg, #ff924d 0%, #ab3bff 69%, #ffe385 100%);
      }

      .as {
        color: #fff;
        background: linear-gradient(90deg, #ffa66e 0%, #ed894a 100%);
        border-radius: 6px;
        box-shadow: 0 10px 20px 0 rgba(69, 55, 131, 0.24), inset 0 -1px 5px 0 #ffe3d0;

        .icon {
          background-image: url('./images/as.png');
        }
      }
    }

    &.score-4 {
      .process {
        width: 624px;
        background: linear-gradient(270deg, #ff3b3c 0%, #ff924d 29%, #ab3bff 69%, #ffe385 100%);
      }

      .s {
        color: #fff;
        background: linear-gradient(90deg, #ff5d5d 0%, #ff3636 100%);
        border-radius: 6px;
        box-shadow: 0 10px 20px 0 rgba(69, 55, 131, 0.24), inset 0 -1px 5px 0 #ffaaaa;

        .icon {
          background-image: url('./images/s.png');
        }
      }
    }

    .opacitYprocess {
      position: absolute;
      top: 25px;
      left: 70px;
      width: 624px;
      height: 20px;
      background: linear-gradient(270deg, #ff3b3c 0%, #ff924d 29%, #ab3bff 69%, #ffe385 100%);
      opacity: 0.2;
    }

    .process {
      position: absolute;
      top: 25px;
      left: 70px;
      z-index: 2;
      width: 191px;
      height: 20px;
      transition: all 0.3s ease-in-out;
    }

    .score-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .score-item {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 70px;
      height: 70px;
      color: #141435;
      font-weight: 600;
      background: #fff;
      border-radius: 6px;
      box-shadow: 0 10px 20px 0 #112b53;
      cursor: pointer;
    }

    .checked {
      position: absolute;
      top: 4px;
      right: 4px;
      width: 16px;
      height: 16px;
      background: url('./images/gou.png') no-repeat center / 100%;
    }

    .b {
      .icon {
        width: 18px;
        height: 20px;
        margin-bottom: 4px;
        background: url('./images/b-actived.png') no-repeat center / 100%;
      }
    }

    .a {
      .icon {
        width: 18px;
        height: 20px;
        margin-bottom: 4px;
        background: url('./images/a-actived.png') no-repeat center / 100%;
      }
    }

    .as {
      .icon {
        width: 26px;
        height: 20px;
        margin-bottom: 4px;
        background: url('./images/as-actived.png') no-repeat center / 100%;
      }
    }

    .s {
      .icon {
        width: 18px;
        height: 20px;
        margin-bottom: 4px;
        background: url('./images/s-actived.png') no-repeat center / 100%;
      }

      .left {
        position: absolute;
        top: -24px;
        left: -41px;
        z-index: -1;
        width: 48px;
        height: 76px;
        background: url('./images/zc.png') no-repeat center / 100%;
      }

      .right {
        position: absolute;
        top: -24px;
        right: -41px;
        z-index: -1;
        width: 48px;
        height: 76px;
        background: url('./images/rc.png') no-repeat center / 100%;
      }

      .top {
        position: absolute;
        top: -33px;
        left: 7px;
        width: 56px;
        height: 49px;
        background: url('./images/hg.png') no-repeat center / 100%;
      }

      .bottom {
        position: absolute;
        bottom: -14px;
        left: 19px;
        z-index: -1;
        width: 32px;
        height: 23px;
        background: url('./images/db.png') no-repeat center / 100%;
      }
    }
  }

  .des {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 764px;
    margin: 0 auto;
    padding: 45px 0 15px 0;
    border-bottom: 2px solid #2f5083;

    .fileds {
      margin-left: 45px;

      .key {
        color: #7688a5;
      }

      .value {
        color: #fff;
      }
    }
  }

  .buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 764px;
    margin: 30px auto 0 auto;

    .button {
      min-width: 112px;
      padding: 10px 24px;
      color: #fff;
      font-weight: 600;
      text-align: center;
      background: #2f5083;
      border-radius: 20px;
      cursor: pointer;
      &.submit {
        margin-left: 30px;
        background-color: #254df8;
      }
      &.disabled {
        opacity: 0.2;
      }
    }
  }
}

.zmwrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #3b4b6d;
  .zmwrapperIcon {
    width: 28px;
    height: 28px;
    background: url('./images/icon-zm.png') no-repeat center / 100%;
  }
  .zmwrapperText {
    height: 22px;
    margin-top: 20px;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
  }
}
